package com.studor.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("db_order")
public class Order {
    @TableId
    @TableField(value = "orderNum")
    private String orderNum;

    private String dormitory;

    private Integer id;

    private Integer roomNum;

    private Integer bedNum;

    private LocalDateTime orderTime;

    private String type;

    private Integer totalAmount;
}
